#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

extern char** environ;

int main(int argc, char** argv){
	char** current = environ;
	while(*current != NULL){
		printf("%s\n", *current);
		current += 1;
	}
	printf("end\n");

	char* path = getenv("PATH");
	printf("$PATH: %s\n", path);
	return 0;
}
